An interface to the swap routines.
Swaps the contents of two arrays.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(inout), | dimension(:) | :: | x |
On input, the first array to swap. On output, the contents of the first array are copied to the second array. |
|
| real(kind=real64), | intent(inout), | dimension(:) | :: | y |
On input, the second array to swap. On output, the contents of the second array are copied to the first array. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An error object to report any errors that occur. |
Swaps the contents of two arrays.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| complex(kind=real64), | intent(inout), | dimension(:) | :: | x |
On input, the first array to swap. On output, the contents of the first array are copied to the second array. |
|
| complex(kind=real64), | intent(inout), | dimension(:) | :: | y |
On input, the second array to swap. On output, the contents of the second array are copied to the first array. |
|
| class(errors), | intent(inout), | optional, | target | :: | err |
An error object to report any errors that occur. |